package com.huangliusong.order.utils;

import java.util.Random;

/**
 * @author huangliusong
 * @since 2018/10/20
 * {@link }
 */
public class KeyUtil {
    /**
     * orderId
     */
    public static synchronized String genUnipuKey(){
        Random random=new Random();
        Integer number=random.nextInt(900000)+100000;
        return System.currentTimeMillis()+String.valueOf(number);
    }
}
